﻿<UserControl x:Class="Conference.MainPage"
    xmlns="http://schemas.microsoft.com/winfx/2006/xaml/presentation"
    xmlns:x="http://schemas.microsoft.com/winfx/2006/xaml"
    xmlns:d="http://schemas.microsoft.com/expression/blend/2008"
    xmlns:mc="http://schemas.openxmlformats.org/markup-compatibility/2006"
    mc:Ignorable="d"
    d:DesignHeight="300" d:DesignWidth="800" xmlns:sdk="http://schemas.microsoft.com/winfx/2006/xaml/presentation/sdk">

    <Grid x:Name="LayoutRoot">
        <Button Content="Старт" Height="23" HorizontalAlignment="Left" Margin="174,170,0,0" Name="startButton" VerticalAlignment="Top" Width="75" Click="startButton_Click" IsEnabled="False" />
        <Button Content="Стоп" Height="23" HorizontalAlignment="Left" Margin="259,170,0,0" Name="stopButton" VerticalAlignment="Top" Width="75" Click="stopButton_Click" IsEnabled="False" />
        <Image Height="120" HorizontalAlignment="Left" Margin="174,44,0,0" Name="remoteVideo" Stretch="Fill" VerticalAlignment="Top" Width="160" />
        <Button Content="Увійти" Height="23" HorizontalAlignment="Left" Margin="93,170,0,0" Name="loginButton" VerticalAlignment="Top" Width="75" Click="loginButton_Click" />
        <TextBox Height="23" HorizontalAlignment="Left" Margin="8,170,0,0" Name="nameField" VerticalAlignment="Top" Width="79" Text="Nickname" />
        <ListBox Height="149" HorizontalAlignment="Left" Margin="340,44,0,0" Name="usersList" VerticalAlignment="Top" Width="120" MouseLeftButtonUp="usersList_MouseLeftButtonUp" />
        <Button Content="Вийти" Height="23" HorizontalAlignment="Left" Margin="93,199,0,0" Name="logoutButton" VerticalAlignment="Top" Width="75" Click="logoutButton_Click" IsEnabled="False" />
        <Rectangle Height="120" HorizontalAlignment="Left" Margin="8,44,0,0" Name="localVideo" Stroke="Black" StrokeThickness="1" VerticalAlignment="Top" Width="160" />
        <sdk:Label Height="28" HorizontalAlignment="Left" Margin="12,12,0,0" Name="label1" VerticalAlignment="Top" Width="120" Content="Локальне відео" Foreground="White" />
        <sdk:Label Content="Віддалене відео" Height="28" HorizontalAlignment="Left" Margin="174,12,0,0" Name="label2" VerticalAlignment="Top" Width="120" Foreground="White" />
        <sdk:Label Content="Список користувачів" Height="28" HorizontalAlignment="Left" Margin="340,12,0,0" Name="label3" VerticalAlignment="Top" Width="133" Foreground="White" />
        <CheckBox Content="Вимкнути відео" Height="16" HorizontalAlignment="Left" Margin="340,199,0,0" Name="videoFlag" VerticalAlignment="Top" Checked="videoFlag_Checked" Unchecked="videoFlag_Unchecked" IsEnabled="False" />
        <CheckBox Content="Вимкнути аудіо" Height="16" HorizontalAlignment="Left" Margin="340,221,0,0" Name="audioFlag" VerticalAlignment="Top" Checked="audioFlag_Checked" Unchecked="audioFlag_Unchecked" IsEnabled="False" />
        <Grid.Background>
            <LinearGradientBrush EndPoint="1,0.5" StartPoint="0,0.5">
                <GradientStop Color="Black" Offset="1" />
                <GradientStop Color="#FF2C38C8" Offset="0.007" />
            </LinearGradientBrush>
        </Grid.Background>
    </Grid>
</UserControl>
